package o2o.dao.PO.agent;

//代理信息(商圈)

public class CityAgent {
    private Long id;// ID

    private String username;//用户账号
    private String name;//名称

    private String agentManagerUsername;
    private Double agentManagerShareRate;
    private String province;//所属省
    private String city;//所属市
    private String county;//所属区县
    private String region;//所属区域（商圈）
    private String address;//地址
    private String cityEN;//所属市
    private String operatingTime = "0:00-0:00";// 运营时间段

    private Double lng;// 经度
    private Double lat;// 纬度
    private String geocode;// GeoHash码
    private Long areaPoint;// 区域  获取附近店铺用
    private Integer isFixedPosition; // 是不是固定位置

    private Integer rang;//代理范围（公里）

    // add by zhuwx
    private Double fixedCost;// 按单店铺计算：配送固定费用
    private Double withinDistance;//距离 ：店铺配送指定距离以内 只收取固定费用
    private Double oneKmCost;// 单公里费用：超出指定距离单公里费用

    // add by  yangtk 2019年5月9日14:14:01
    private Double fixedWeightCost; //固定重量内价格
    private Double withinWeight;     // 固定重量内
    private Double oneKgWeightCost;  // 超出后每kg多少钱

    // add by zhuwx 2019-2-27
    private Double psFixedCost;// 骑手工资-按距离收费：固定费用
    private Double psWithinDistance;// 骑手工资-距离:指定距离以内为固定费用
    private Double psOneKmCost;// 骑手工资-单公里费用：超出指定距离每公里费用
    private Double psMaxMoney;// 骑手工资-最大金额数（-1为不限）

    private Double secondaryPsMoney = 0.0d; // 二级骑手金额
    private Double minCharge;//每单最低手续费
    // add by lmy
    private String lnglats;//经纬度
    private String lnglats1;//范围较大的商圈
    private String lnglats2;//范围较小的商圈

    private Integer settlementType;         // 账单类型 1 日结 3 三日结 7 周结  30 月结
    private Integer settlementDay;          // 结算日 月结时 1-28  周结 1-7

    private int delFlag;// 是否已删除(0未删除,1已删除)
    private String createUser;// 创建者
    private Long createTime;// 创建日期 141231212423423时间戳毫秒级标识
    private String updateUser;// 最后更新着
    private Long updateTime;// 最后更新时间

    public Integer getSettlementType() {
        return settlementType;
    }

    public CityAgent setSettlementType(Integer settlementType) {
        this.settlementType = settlementType;
        return this;
    }

    public Integer getSettlementDay() {
        return settlementDay;
    }

    public CityAgent setSettlementDay(Integer settlementDay) {
        this.settlementDay = settlementDay;
        return this;
    }

    public Double getMinCharge() {
        return minCharge;
    }

    public CityAgent setMinCharge(Double minCharge) {
        this.minCharge = minCharge;
        return this;
    }

    public Double getAgentManagerShareRate() {
        return agentManagerShareRate;
    }

    public CityAgent setAgentManagerShareRate(Double agentManagerShareRate) {
        this.agentManagerShareRate = agentManagerShareRate;
        return this;
    }

    public String getAgentManagerUsername() {
        return agentManagerUsername;
    }

    public CityAgent setAgentManagerUsername(String agentManagerUsername) {
        this.agentManagerUsername = agentManagerUsername;
        return this;
    }

    public Integer getIsFixedPosition() {
        return isFixedPosition;
    }

    public CityAgent setIsFixedPosition(Integer isFixedPosition) {
        this.isFixedPosition = isFixedPosition;
        return this;
    }

    public String getOperatingTime() {
        return operatingTime;
    }

    public CityAgent setOperatingTime(String operatingTime) {
        this.operatingTime = operatingTime;
        return this;
    }

    public String getLnglats1() {
        return lnglats1;
    }

    public CityAgent setLnglats1(String lnglats1) {
        this.lnglats1 = lnglats1;
        return this;
    }

    public String getLnglats2() {
        return lnglats2;
    }

    public CityAgent setLnglats2(String lnglats2) {
        this.lnglats2 = lnglats2;
        return this;
    }

    public Double getSecondaryPsMoney() {
        return secondaryPsMoney;
    }

    public CityAgent setSecondaryPsMoney(Double secondaryPsMoney) {
        this.secondaryPsMoney = secondaryPsMoney;
        return this;
    }

    public Double getFixedWeightCost() {
        return fixedWeightCost;
    }

    public CityAgent setFixedWeightCost(Double fixedWeightCost) {
        this.fixedWeightCost = fixedWeightCost;
        return this;
    }

    public Double getWithinWeight() {
        return withinWeight;
    }

    public CityAgent setWithinWeight(Double withinWeight) {
        this.withinWeight = withinWeight;
        return this;
    }

    public Double getOneKgWeightCost() {
        return oneKgWeightCost;
    }

    public CityAgent setOneKgWeightCost(Double oneKgWeightCost) {
        this.oneKgWeightCost = oneKgWeightCost;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public String getGeocode() {
        return geocode;
    }

    public void setGeocode(String geocode) {
        this.geocode = geocode;
    }

    public Long getAreaPoint() {
        return areaPoint;
    }

    public void setAreaPoint(Long areaPoint) {
        this.areaPoint = areaPoint;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRang() {
        return rang;
    }

    public void setRang(Integer rang) {
        this.rang = rang;
    }

    public String getCityEN() {
        return cityEN;
    }

    public void setCityEN(String cityEN) {
        this.cityEN = cityEN;
    }

    public Double getFixedCost() {
        return fixedCost;
    }

    public void setFixedCost(Double fixedCost) {
        this.fixedCost = fixedCost;
    }

    public Double getWithinDistance() {
        return withinDistance;
    }

    public void setWithinDistance(Double withinDistance) {
        this.withinDistance = withinDistance;
    }

    public Double getOneKmCost() {
        return oneKmCost;
    }

    public void setOneKmCost(Double oneKmCost) {
        this.oneKmCost = oneKmCost;
    }

    public String getLnglats() {
        return lnglats;
    }

    public void setLnglats(String lnglats) {
        this.lnglats = lnglats;
    }

    public Double getPsFixedCost() {
        return psFixedCost;
    }

    public void setPsFixedCost(Double psFixedCost) {
        this.psFixedCost = psFixedCost;
    }

    public Double getPsWithinDistance() {
        return psWithinDistance;
    }

    public void setPsWithinDistance(Double psWithinDistance) {
        this.psWithinDistance = psWithinDistance;
    }

    public Double getPsOneKmCost() {
        return psOneKmCost;
    }

    public void setPsOneKmCost(Double psOneKmCost) {
        this.psOneKmCost = psOneKmCost;
    }

    public Double getPsMaxMoney() {
        return psMaxMoney;
    }

    public void setPsMaxMoney(Double psMaxMoney) {
        this.psMaxMoney = psMaxMoney;
    }
}
